export const tableConfig = [
    { prop: "name", label: "策略名称", minWidth: "140" },
    { prop: "equipmentList", label: "已关联设备", minWidth: "140" },
    { prop: "updateTime", label: "更新时间", minWidth: "140" },
    { prop: "state", label: "状态", minWidth: "140", slotName: "state" },
    { prop: "isTemplate", label: "模版", minWidth: "140", slotName: "isTemplate" },
    { label: "操作", minWidth: "200", slotName: "operate", fixed: "right" }
];
export const formConfig = [
    { formType: "input", type: "text", formName: "name", labelName: "策略名称", placeholder: "请输入策略名称" },
    {
        formType: "select",
        formName: "state",
        labelName: "策略状态",
        placeholder: "请选择策略状态",
        style: {
            width: "194px"
        },
        options: [
            { label: "启用", value: 1 },
            { label: "禁用", value: 0 }
        ]
    }
];
export const equipmentRules = {
    equipmentId: [
        {
            required: true,
            message: "设备类型是必填的",
            trigger: "change"
        }
    ]
};
